package com.project.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.ToString;

import java.time.LocalDate;
import java.util.Date;

/**库存商品 */
@Data
@TableName("t_goods")
public class GoodsBean {

    @TableId(value = "pk_goodsId",type = IdType.AUTO)
    private Integer id;

    @TableField("g_name")
    private String name;

    @TableField("g_size")
    private String size;

    @TableField("g_color")
    private String color;

    @TableField("g_type")
    private String type;

    @TableField("g_num")
    private Integer num;

    //批次
    @TableField("g_pici")
    private String pici;

    //上架状态
    @TableField("g_status")
    private String status;

    @TableField("g_createAddress")
    private String createAddress;

    @TableField("g_createDate")
    private Date createDate;

}


